act according to circumstances

na. 临机应变
[网络] 因地制宜;见机行事;随机应变